#include <stdio.h>
#include <check.h>
#include "../messages/traducteur_message_test.h"
#include "../reseau/reception_test.h"
#include "../chaine_cond/mise_en_carton_test.h"
#include "../messages/log_test.h"

int main (void) {
    int number_failed;
    
    SRunner *sr = srunner_create(message_suite());
    srunner_add_suite(sr, reception_suite());
    srunner_add_suite(sr, mise_en_carton_suite());
    srunner_add_suite(sr, log_suite());
    
    srunner_run_all(sr, CK_NORMAL);
    number_failed = srunner_ntests_failed(sr);
    printf("number_failed = %d\n", number_failed);
    
    srunner_free(sr);
    
    return 0;
}
